package com.gimi.cloud.bbp.dao.dao.prod;

import com.gimi.cloud.bbp.dao.myMapper.MyMapper;
import com.gimi.cloud.bbp.entity.product.ProductSkuImgEntity;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * sku图片
 * @author chendi
 * @date 2018年1月3日
 */
@Mapper
public interface ProdSkuImgDao extends MyMapper<ProductSkuImgEntity> {

    @Select("SELECT img_url AS imgUrl FROM ec_prod_sku_img WHERE sku_id = #{skuId};")
    List<String> findSkuImg(@Param(value = "skuId") String skuId);
    
}
